/*
 * @Author: DUST
 * @Date: 2023-06-06 17:18:52
 * @LastEditors: DUST
 * @LastEditTime: 2023-06-29 09:18:44
 * @FilePath: \vite-project\src\api\forceEnd.ts
 * @Description:
 * undefined
 */
import { PageInterFace } from "@/interface";
import Axios from "@/utils/ForceEndAxios";

export const notePage = async (params: PageInterFace) => {
  return await Axios(`/note/sign/page`, { params });
};

export const noteDetailsByID = async (id: number) => {
  return await Axios(`/note/sign/details/${id}`);
};

export const locationAndWeather = async () => {
  return await Axios(`/utils/location/and/weather`);
};

export const siteHotsNews = async (params: { newsType: string }) => {
  return await Axios(`/utils/newsList`, { params });
};

export const websiteList = async () => {
  return await Axios(`/websiteForcend/list`);
};
